fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

wait

mutate.wait

wait(F:Function bool,condition F) => unit[src]
wait for the given condition to become true by a mutation of the underlying data.

In case this mutate is not a multi-thread implementation and `condition()` is `false`,
this will `panic`.
Precondition
pre
  safety: is_exclusive
Postcondition
post
  debug: condition()

Type Parameters

F:Function bool[src]

Arguments

condition F[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23